﻿using DictionaryWebApp.DAL;
using Ninject.Modules;
using System.Configuration;

namespace DictionaryWebApp.Ninject
{
    public class NinjectServiceModule : NinjectModule
    {
        public override void Load()
        {
            Kernel.Bind<IDictionaryRepository>().To<DictionaryRepository>();
            Kernel.Bind<DictionaryContext>().To<DictionaryContext>();
        }
    }
}